﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Amoo.Code.Business.Admin
{
    public class PageBase : System.Web.UI.Page
    {
        protected override void  OnLoad(EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["userAdmin"] == null)
                {
                    Response.Redirect("Login.aspx", true);
                }
            }
            base.OnLoad(e);
        }
    }
}
